1 00:00:00,700 --> 00:00:04,090 All right, Now let's work on our battle royale arena. 2 00:00:04,120 --> 00:00:10,060 The second place that we go to when we initiate our battle, I'm going to go to the View tab. 3 00:00:10,270 --> 00:00:12,520 And then this is the asset manager right here. 4 00:00:12,520 --> 00:00:14,020 If you hover over it, you can see it. 5 00:00:14,020 --> 00:00:16,390 Just click there and we have our places. 6 00:00:16,390 --> 00:00:20,560 I'm going to open that up by double clicking and then I have my battle royale. 7 00:00:20,590 --> 00:00:25,390 This is the arena where we do our battle royale, so I'll go ahead and bring that up. 8 00:00:25,390 --> 00:00:26,380 I just double clicked it. 9 00:00:26,380 --> 00:00:27,430 It's just going to take a minute. 10 00:00:27,430 --> 00:00:28,660 I'll pause the video. 11 00:00:30,120 --> 00:00:30,540 All right. 12 00:00:30,540 --> 00:00:38,250 This is the battle royale place, and I'm going to need my scripts from server script service for the 13 00:00:38,250 --> 00:00:41,030 game manager and the equipment manager. 14 00:00:41,040 --> 00:00:44,820 Let's go ahead and make this smaller so I can see both of the windows. 15 00:00:45,150 --> 00:00:46,770 I'll just go ahead and shrink that. 16 00:00:47,600 --> 00:00:48,380 There we go. 17 00:00:48,560 --> 00:00:54,230 And here's my server script service on the game side, the main game. 18 00:00:54,230 --> 00:00:59,630 I'm going to grab that game manager and we don't need a wave loop. 19 00:00:59,660 --> 00:01:02,870 The Z spawner is good control. 20 00:01:02,870 --> 00:01:05,420 Click on Equipment Manager. 21 00:01:05,450 --> 00:01:11,240 Let's go ahead and right click and then I'll copy and then I'm going to bring up my other window. 22 00:01:11,930 --> 00:01:12,920 Here it is. 23 00:01:13,340 --> 00:01:15,230 Server Script service. 24 00:01:15,230 --> 00:01:20,990 Let's just go ahead and right click paste into it'll almost work identical. 25 00:01:20,990 --> 00:01:25,340 There's one thing that we got to change in our game manager. 26 00:01:25,340 --> 00:01:30,410 We send information to our UI using an info queue. 27 00:01:30,410 --> 00:01:33,230 Let's open up the game manager and change that. 28 00:01:33,230 --> 00:01:34,520 I'm going to make this bigger. 29 00:01:35,260 --> 00:01:35,530 Right. 30 00:01:35,530 --> 00:01:37,900 So this is this is my battle royale. 31 00:01:37,930 --> 00:01:38,800 The second place. 32 00:01:38,800 --> 00:01:39,250 Right. 33 00:01:39,250 --> 00:01:43,480 But these scripts are almost identical, so you've got to be careful, right? 34 00:01:43,480 --> 00:01:48,430 We don't have an info message re on this side and I don't think I'm going to need it. 35 00:01:48,430 --> 00:01:52,600 So I'm going to delete line four here. 36 00:01:52,870 --> 00:01:58,720 And the reason I do it up here so that I can see where all the occurrences are along the side here, 37 00:01:58,720 --> 00:02:01,930 all the errors, because I want to remove those two, right? 38 00:02:01,930 --> 00:02:08,020 So we have in our daily streak stuff, we're going to delete those info messages. 39 00:02:11,430 --> 00:02:12,480 Here we go. 40 00:02:12,840 --> 00:02:14,790 I think that's all we need to do. 41 00:02:17,300 --> 00:02:17,770 All right. 42 00:02:17,780 --> 00:02:19,100 And then our equipment manager. 43 00:02:19,100 --> 00:02:20,480 Let's see if we got everything in there. 44 00:02:20,510 --> 00:02:21,770 This is looking pretty good. 45 00:02:21,770 --> 00:02:25,310 This is pretty self contained. 46 00:02:26,330 --> 00:02:31,550 Now this gets all the information from our data store about the weapons we have. 47 00:02:31,580 --> 00:02:37,520 But don't forget, we actually grabbed those from replicated storage and clone them in the game. 48 00:02:37,520 --> 00:02:42,170 So we need to get our weapons and replicated storage in this place, too. 49 00:02:42,200 --> 00:02:47,870 Let me go ahead and close this and I'll go over to replicated storage, grab our weapons. 50 00:02:47,870 --> 00:02:51,470 This is where we wish we had more folders, right? 51 00:02:51,470 --> 00:02:54,890 Or I should have done more folders, but that's fine. 52 00:02:54,890 --> 00:02:58,040 I don't have the classic slingshot, but I'm going to grab it anyway. 53 00:02:58,070 --> 00:02:58,790 Fabulous. 54 00:02:58,790 --> 00:02:59,120 Lemon. 55 00:02:59,120 --> 00:03:00,470 That doesn't do anything. 56 00:03:00,470 --> 00:03:02,390 But we'll get the simple pistol. 57 00:03:02,390 --> 00:03:03,770 Let's grab all of them. 58 00:03:03,770 --> 00:03:06,980 Let's just go ahead and right click and then copy. 59 00:03:07,340 --> 00:03:09,410 And now I'm going to bring up my other game. 60 00:03:11,570 --> 00:03:12,530 There it is. 61 00:03:12,860 --> 00:03:14,570 And we're going to go to replicated storage. 62 00:03:14,570 --> 00:03:20,630 There's nothing in replicated storage right click paste into now we have our weapons. 63 00:03:20,720 --> 00:03:21,800 Nice. 64 00:03:21,860 --> 00:03:22,250 All right. 65 00:03:22,250 --> 00:03:26,120 So once again, I'm going to check game settings, right? 66 00:03:26,120 --> 00:03:29,750 So I'm in my battle royale place where I just pasted my weapons. 67 00:03:29,780 --> 00:03:36,740 I just want to make sure security enabled studio access to API services is green so that we can use 68 00:03:36,740 --> 00:03:37,610 our data store. 69 00:03:37,610 --> 00:03:38,780 We can. 70 00:03:38,780 --> 00:03:47,570 Let's go ahead and close that file, publish to Roblox, grab your other game, your other place, same 71 00:03:47,570 --> 00:03:48,710 game, other place. 72 00:03:48,740 --> 00:03:50,150 Saved a Roblox. 73 00:03:50,150 --> 00:03:55,760 Let's go and bring up our website and play this, see if we can test it out because remember, we can't 74 00:03:55,760 --> 00:03:58,880 teleport in in in Roblox studio. 75 00:04:00,590 --> 00:04:02,090 Let's just bring up the website. 76 00:04:02,120 --> 00:04:02,870 Boom. 77 00:04:02,870 --> 00:04:03,540 There I am. 78 00:04:03,560 --> 00:04:04,820 Simtek Nitro. 79 00:04:04,860 --> 00:04:07,280 Once I'm logged in, we'll go to create. 80 00:04:07,760 --> 00:04:10,820 Take a look at our games experiences. 81 00:04:10,910 --> 00:04:13,340 It's already selected my zombie game. 82 00:04:13,340 --> 00:04:15,080 I have it public so that I can. 83 00:04:15,080 --> 00:04:17,420 I can bring my alt over if I need to. 84 00:04:18,290 --> 00:04:22,930 And let's see, we'll hit view on Roblox. 85 00:04:22,940 --> 00:04:24,020 There we go. 86 00:04:24,820 --> 00:04:26,470 And play. 87 00:04:26,500 --> 00:04:29,350 I'm going to pause the video while the player starts up. 88 00:04:31,310 --> 00:04:31,760 All right. 89 00:04:31,760 --> 00:04:32,930 I am in my world. 90 00:04:32,930 --> 00:04:38,840 Let's go to our settings, bring up our control panel there, our developer console. 91 00:04:39,480 --> 00:04:40,650 Cool. 92 00:04:42,120 --> 00:04:43,410 Let's go and move it over. 93 00:04:43,530 --> 00:04:44,130 Can I grab it? 94 00:04:44,130 --> 00:04:44,910 There we go. 95 00:04:45,720 --> 00:04:46,770 Make it smaller. 96 00:04:48,120 --> 00:04:49,620 Drag it down. 97 00:04:50,400 --> 00:04:51,870 Go to server. 98 00:04:54,660 --> 00:04:55,140 What do we have? 99 00:04:55,140 --> 00:04:57,250 Log scripts. 100 00:04:57,270 --> 00:04:58,380 I'll keep it like that. 101 00:04:58,680 --> 00:04:59,040 All right. 102 00:04:59,070 --> 00:05:03,330 Now we'll go over to our initiate battle. 103 00:05:04,370 --> 00:05:05,480 Click on it. 104 00:05:05,600 --> 00:05:07,970 Except I'll pause. 105 00:05:08,000 --> 00:05:11,000 And then when we get over there, I'll unpause it. 106 00:05:12,600 --> 00:05:14,190 All right, here we go. 107 00:05:14,280 --> 00:05:15,510 Are we going to have a weapon? 108 00:05:15,510 --> 00:05:16,830 Look at that. 109 00:05:16,920 --> 00:05:21,440 We have a weapon, and it works Pretty cool. 110 00:05:21,450 --> 00:05:23,490 Let's see if there's any errors here. 111 00:05:23,520 --> 00:05:28,020 Let's go to settings and open developer console. 112 00:05:28,950 --> 00:05:30,090 Good server. 113 00:05:31,060 --> 00:05:32,110 Looking good. 114 00:05:33,380 --> 00:05:33,980 Oh, yeah. 115 00:05:34,640 --> 00:05:35,900 There we go. 116 00:05:36,350 --> 00:05:38,720 All right, so now we have our weapons. 117 00:05:38,720 --> 00:05:42,440 We can we can get stuff in the second place that we teleport to. 118 00:05:42,440 --> 00:05:43,580 That's pretty cool. 119 00:05:43,580 --> 00:05:45,860 Well, it's the first place we're teleporting to, right? 120 00:05:45,860 --> 00:05:47,690 But we have two places. 121 00:05:49,480 --> 00:05:51,640 And both have weapons. 122 00:05:51,640 --> 00:05:52,900 We have access to our weapons. 123 00:05:52,900 --> 00:05:57,430 Everything we own in the other place we can get here in the next video. 124 00:05:57,430 --> 00:06:04,720 Let's make it so that when you die or when you win the battle royale, you get teleported back.